package engine

import "gitcode.com/eteam/sae.git/types"

type GuessSkillResponse struct {
	SkillId string `json:"skillId"`
}

type ListTaskRequest struct {
	Offset uint32 `form:"offset"`
	Limit  uint32 `form:"limit"`
}

type ListTaskResponse struct {
	TotalCount uint32        `json:"totalCount"`
	TaskList   []*types.Task `json:"taskList"`
}

type GetTaskDataRequest struct {
	WithMessage    bool `form:"withMessage"`
	WithArtifact   bool `form:"withArtifact"`
	WithFormDefine bool `form:"withFormDefine"`
}

type CreateTaskRequest struct {
	SkillId string        `json:"skillId"`
	Message types.Message `json:"message"`
}

type CreateTaskResponse struct {
	TaskId string `json:"taskId"`
}
